package interfaces;

import entity.BorrowBook;

import java.sql.Connection;
import java.util.List;

public interface BorrowBookDao {

    void borrowBooks(Connection connection, BorrowBook borrowBook);

    void returnBooks(Connection connection, BorrowBook borrowBook);

    //查询表中所有记录构成的集合
    List<BorrowBook> getAll(Connection coon);


}
